home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / modules / mt / panel / scripts / DefineButton2_145 / BUTTONCONDACTION on(release).as < prev    next >
Encoding:
Text File  |  2002-03-20  |  448 b   |  19 lines

  1. on(release){
  2.    tellTarget("_level50")
  3.    {
  4.       gotoAndStop("off");
  5.    }
  6.    path = _target.substr("1","15");
  7.    if(eval(path add "codelib:selectbar") != eval("../../:bar"))
  8.    {
  9.       set(path add "codelib:selectbar",eval("../../:bar"));
  10.       call(path add "codelib:select");
  11.    }
  12.    else
  13.    {
  14.       set(path add "codelib:selectbar","");
  15.    }
  16.    set(path add "codelib:task_id",id);
  17.    call(path add "codelib:view taskcard");
  18. }
  19.